
var bg = chrome.extension.getBackgroundPage();

//再在返回的对象上调用background.js 里面的函数
//
document.getElementById('protecteyesmodebutton').addEventListener("click", function() {
    bg.runJavaScript();
});